package com.wwh.spring.component;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author Albert
 * @date 2024/8/27-18:28
 * @describe 就是一个Controller
 */
//默认情况下，@Component、@Service、@Controller、@Repository是单例的
@Component
@Scope(value = "prototype")  // 配置为多例
public class UserAction {
}
